import request from '/@/utils/request'

export function pagesApi(){
    return {
        getList: (params?: object) => {
			return request({
				url: '/sms/smsPagesUrl/pageList',
				method: 'post',
				data: params,
			})
		},
        create: (params?:object) => {
			return request({
				url: '/sms/smsPagesUrl/create',
				method: 'post',
				data: params
			})
		},
		update: (params?: object) => {
			return request({
				url: '/sms/smsPagesUrl/update',
				method: 'post',
				data: params,
			})
		},
		removeBath: (params?: object) => {
			return request({
				url: '/sms/smsPagesUrl/remove',
				method: 'get',
				params,
			})
		},
		getTempList: (params?: object) => {
			return request({
				url: '/pms/iPmsWechatTemp/getList',
				method: 'get',
				params,
			})
		},
    }
}